<?php

/**
 * Created by novebeta.
 * Date: 10/19/12
 * Time: 5:01 PM
 */
return CMap::mergeArray(require(dirname(__FILE__) . '/main.php'),
                array(
            //        'sourceLanguage' => 'id',
            //        'language' => 'en',
            'components' => array(
                'urlManager' => array(
                    'urlFormat' => 'path',
                    'showScriptName' => false,
                    'rules' => array(
                        'page/<slug:[a-zA-Z0-9-]+>' => 'page/view',
                        '<action:(contact|login|logout)>/*' => 'site/<action>',
                        '<controller:\w+>/<id:\d+>' => '<controller>/view',
                        "<controller:\w+>/<action:\w+>/<fm:[A-Za-z._\']+>" => '<controller>/<action>',
                        '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
                        '<controller:\w+>/<action:\w+>/*' => '<controller>/<action>',))
            ),
            'catchAllRequest' => (file_exists(dirname(__FILE__) . '/../../off'))
                        ?
                    die('<div style="text-align:center;line-height:300px;font-size:100px;">Under Construction</div>')
                        : null,
            'params' => array(
                'meta' => array(
                    'desc' => 'Sultan Fatah',
                    'Keywords' => 'Sultan Fatah',
                    'Author' => 'sultanfatah81.com',),),));